<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>有猫腻官网</title>
    <link rel="stylesheet" href="__PUBLIC__/ymn_admin/css/reset.css" />
    <link rel="stylesheet" href="__PUBLIC__/ymn_admin/css/common.css" />
    <link rel="stylesheet" href="__PUBLIC__/ymn_admin/css/cp.css" />
</head>
<body>
<!--#include file="header.html"-->
<include file="Index/login_header"/>

<div class="wrapper">
    <div class="index_content content">
        <!--<div class="title_top"><h2>下载中心</h2><span>所有下载内容都在这里</span></div>-->
        <div class="title_content">
            <div class="tabs_box">
                <ul class="tabs_ul">
                    <li><a href="/Index/index?id=0">下载中心</a><i class="triangle-left"></i></li>
                    <li><a href="/Support/index?id=1">渠道列表</a><i class="triangle-left"></i></li>
                    <li><a href="/Test/index?id=2">母包测试</a><i class="triangle-left"></i></li>
                    <li><a href="/User/index?id=3">权限管理</a><i class="triangle-left"></i></li>
                    <li><a href="/App/index?id=4">产品列表</a><i class="triangle-left"></i></li>
                </ul>
                <div class="tabs_container">
                    
                    
                    <div id="tabs2" class="tabs_content">
                        <h3>渠道列表</h3>
                        <div class="search">
                            <form action="/Support/index" method="get">
                            <input type="hidden" id="hid_id"  name="id" value="1">
                            <input type="text" id="content" name="content" placeholder="产品名">
                                <button  type="submit" class="mbcs_ss" >搜
                                </button>
                                
                                <button  type="button" class="mbcs_ss" >返回
                                </button>
                            </form>
                            
                        </div>
                        
                        
                        <a class="xzqdlb" href="javascript:void(0)">新增渠道+</a><br/>
                        <if condition="$list_admin neq NULL">
                                             
                            <table class="cp_list_table">
                                <thead>
                                <tr>
                                    <th >渠道名</th>
                                    <th >类型</th>
                                    <th >版本号</th>
                                    <th>更新时间</th>
                                    <th>状态</th>
                                    <th>操作</th>
                                    <th>发布</th>
                                    
                                </tr>
                                </thead>
                                <tbody>

                                <foreach name="list_admin" item="vol">
                                <tr>
                                    <td>{$vol.name}</td>
                                    <td>
                                        <if condition="$vol.type eq 0">IOS
                                        <else/>安卓
                                        </if>
                                    </td>
                                    <td>{$vol.version}</td>
                                    <td class="time">{$vol.update_time}</td>
                                    <td>
                                        <if condition="$vol.state eq 0">开放下载
                                        <else/>不开放下载
                                        </if>
                                    </td>
                                    <td><a  href="javascript:void(0)" data-info='{$vol|json_encode}'class="bjlist" >编辑 </a></td>
                                    <td><a  href="javascript:void(0)" data-fbqdlb='{$vol|json_encode}' class="fbqdlb">发布</a></td>                                    
                                </tr>
                                </foreach>
                                     
                                </tbody>
                            </table>

                        <else />
                            
                            <h3 class="zwnr">暂无内容<h3>
                            
                        </if>
                    </div>
                    
                </div>
            </div>
        </div>
    </div>
</div>
<div class="dialog_bg hide"></div>

<div class="dialog bb hide">

    <div class="dialog_title">
        <h3 class="sp_name"></h3>
        <span class="dialog_close">关闭</span>
    </div>
    <form >
    <div class="bjqdbb">
        <ul>
            <li>
                <label for="bjqdbb_qdm" ><span id="qdbt">*</span>名称:</label>
                <input id="bjqdbb_qdm" type="text" name="name" placeholder="必填"/>
                
            </li>
            <li>
                <label><span id="qdbt">*</span>类型:</label>
                <select id="bjqdbb_lx" name="xz">
                    <option value="0">IOS</option>
                    <option value="1">安卓</option>
                </select>
            </li>
            <li>
                <label for="bjqdbb_bbh"><span id="qdbt">*</span>版本号:</label>
                <input id="bjqdbb_bbh" class="bjqdbb_bbh"type="text" name="version" placeholder="必填"/>
                
            </li>
            <li>
                <label><span id="qdbt">*</span>开放状态:</label>
                <select id="bjqdbb_qdbm" name="xz">
                    <option value="0">开放下载</option>
                    <option value="1">暂不开放下载</option>
                </select>
            </li>
            <li>
                <label for="bjqdbb_qdwz">渠道网址:</label>
                <input id="bjqdbb_qdwz" type="text" name="channel_url" placeholder="填写渠道网址,如不填,则页面链接不可点击"/>
                
            </li>
            <li>
                <label for="bjqdbb_cslj">参数链接:</label>
                <input id="bjqdbb_cslj" type="text" name="link_url" placeholder="填写参数获取指南链接,如不填,则不可点击"/>
                
            </li>
            <li>
                <label>简介:</label>
                <textarea name="textarea" id="bjqdbb_jj" ></textarea>           
            </li>
            <li>
               <span>开放状态表明是否让用户看到该内容，发布后生效;</span><br/>
               <span>如选择"不开放下载"，无法发布到用户可见页面;</span>
            </li>
        </ul>
         <button  type="button" class="qd" id="bjqdbb_btn">确定</button> 
    </div>
    </form>
</div> 


<script src="__PUBLIC__/ymn_admin/js/jquery-1.11.2.min.js"></script>

<script src="__PUBLIC__/ymn_admin/js/admin.js"></script>
</body>
</html>